<{ include file="default/header.inc.tpl" }>
	<{ cacheless }>
	<div class="comm">
		<div class="dt"><div><b>评论列表</b>（评论：<a style="color:red" href="index.php?a=article&aid=<{ $article.id }>"><{ $article.title|truncate:100 }></a>）</div></div>	

		<div class="dd">
			<{ section name=con loop=$comment }>
			<div class="commtitle">
				<div class="pleft">&nbsp;<b class="titl"><{ $comment[con].username }></b> 
					<{ if $comment[con].cmt eq 0 }>
						<img alt="中立" src="style/<{ $stylePath }>/images/cmt-neu.gif">  
					<{ elseif $comment[con].cmt eq 1 }>
						<img alt="好评" src="style/<{ $stylePath }>/images/cmt-good.gif">
					<{ elseif $comment[con].cmt eq -1 }>
						<img alt="差评" src="style/<{ $stylePath }>/images/cmt-bad.gif">
					<{ /if }>
				
					于 <{ $comment[con].postTime|date_format:"%m-%d %H:%M" }> 说到
				</div>
				<div class="pright"> 
				<a href="#" onclick="setCom(this, 1, <{ $comment[con].id }>)">支持[<span class="red"><{ $comment[con].support }></span>]</a> &nbsp;&nbsp;&nbsp;
				<a href="#" onclick="setCom(this, 2, <{ $comment[con].id }>)">反对[<span class="red"><{ $comment[con].oppose }></span>]</a> &nbsp;&nbsp;&nbsp;
				<a href="#" onclick="quote('hquote', <{ $comment[con].id }>); return false;">引用</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<{ if $dlht }>
					【<a href="index.php?a=delcomment&cid=<{ $comment[con].id }>&aid=<{$article.id }>&page=<{ $page }>">删除</a>】
				<{ /if }>
				</div>
			</div>

			<div class="commtent">
				<{ $comment[con].content }>
			</div>
			<{ sectionelse }>
				目前还没有对文章 <b><{ $article.title|truncate:100 }></b> 的评论！
			<{ /section }>
			<div class="page">
				<{$fpage}>	
			</div>
		</div>
	</div>
	<div class="nav"> </div>
	
	<div class="comm">
		<a name="comment"></a>
			<{if $smarty.session.isLoginH }>
				<{if $fbpl}>
					<form action="index.php?a=comment&action=com" method="post">
					&nbsp;请自觉遵守互联网相关的政策法规，严禁发布色情、暴力、反动的言论。
					<input type="hidden" name="quote" id="hquote" value="">
					<input type="hidden" name="aid" value="<{ $article.id }>">
					<input type="hidden" name="uid" value="<{ $smarty.session.uid }>">
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;评价:
					<input type="radio" name="cmt" checked value="0"><img src="style/<{ $stylePath }>/images/cmt-neu.gif" border=0>中
					<input type="radio" name="cmt"  value="1"><img src="style/<{ $stylePath }>/images/cmt-good.gif" border=0>好评			
					<input type="radio" name="cmt"  value="-1"><img src="style/<{ $stylePath }>/images/cmt-bad.gif" border=0>差评
					<{ $FCK }>
					<div class="subo"> 
						<input type="submit" class="button" name="sub" style="height:20px" value="发表评论">
						&nbsp;&nbsp;网友评论仅供网友表达个人看法，并不表明本站同意其观点或证实其描述。		
					</div>	
					</form>
				<{else}>
					管理员屏蔽了你的评论权限....
				<{/if}>
			<{ else }>
				登录后才能发表评论......
			<{/if}>
		
		<div class="nav"> </div>
	</div>
	<{ /cacheless }>
<{ include file="default/footer.inc.tpl" }>
